package com.str.queue;
public interface Queue {
// Each Queue object is a queue whose elements are objects.

// Modifiers
  public void clear();
  // Make this queue empty.
    
  public void enqueue(Object val);
  // Add val as the rear element of this queue.
    
  public Object dequeue();
  // Remove and return the front element of this queue.

// Accessors
  public boolean isEmpty();
  // Return true if and only if this queue is empty.
    
  public int size();
  // Return this queue��s length.

  public Object peek();
  // Return the element at the front of this queue.
}
